package com.px.project.module.ml.dto.requirements.plan;

import javax.validation.constraints.NotNull;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 物资系统》物资管理》物资需求计划数据传输对象
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Getter
@Setter
@Accessors(chain = true)
public class RequirementsPlanDraftUpdateDto extends RequirementsPlanDraftDto {
    private static final long serialVersionUID = -123205123334563851L;
    /**
     * 需求计划ID
     */
    @NotNull(message = "需求计划ID必填项")
    private Long id;

    @Override
    public void setId(Long id) {
        this.id = id;
    }
}